package org.jeecg.modules.job.ums.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.job.rms.entity.RmsCompany;
import org.jeecg.modules.job.rms.entity.RmsCompanyPosition;
import org.jeecg.modules.job.wms.entity.WmsResume;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 浏览记录
 * @Author: jeecg-boot
 * @Date:   2022-12-18
 * @Version: V1.0
 */
@Data
@TableName("ums_browse")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ums_browse对象", description="浏览记录")
public class UmsBrowse implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
	/**类型：0-浏览职位，1-浏览简历*/
	@Excel(name = "类型：0-浏览职位，1-浏览简历", width = 15)
    @ApiModelProperty(value = "类型：0-浏览职位，1-浏览简历")
    private java.lang.Integer browseType;
	/**会员ID*/
	@Excel(name = "会员ID", width = 15)
    @ApiModelProperty(value = "会员ID")
    private java.lang.String memberId;
	/**招聘者ID*/
	@Excel(name = "招聘者ID", width = 15)
    @ApiModelProperty(value = "招聘者ID")
    private java.lang.String comMemberId;
	/**职位ID*/
	@Excel(name = "职位ID", width = 15)
    @ApiModelProperty(value = "职位ID")
    private java.lang.String positionId;
	/**推广码*/
	@Excel(name = "推广码", width = 15)
    @ApiModelProperty(value = "推广码")
    private java.lang.String tcode;
	/**公司ID*/
	@Excel(name = "公司ID", width = 15)
    @ApiModelProperty(value = "公司ID")
    private java.lang.String companyId;
	/**简历ID*/
	@Excel(name = "简历ID", width = 15)
    @ApiModelProperty(value = "简历ID")
    private java.lang.String resumeId;
	/**是否启用*/
	@Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "是否启用")
    private java.lang.String status;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private java.lang.Integer sort;
	/**创建者*/
    @ApiModelProperty(value = "创建者")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新者*/
    @ApiModelProperty(value = "更新者")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**所属部门编码*/
    @ApiModelProperty(value = "所属部门编码")
    private java.lang.String sysOrgCode;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
    private java.lang.Integer tenantId;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private java.lang.Integer delFlag;


    @TableField(exist = false)
    private String keyword;
    @TableField(exist = false)
    private String startDate;
    @TableField(exist = false)
    private String endDate;
    @TableField(exist = false)
    private String searchTime;


    /**
     * 简历信息
     */
    @TableField(exist = false)
    private WmsResume resume;
    /**
     * 职位信息
     */
    @TableField(exist = false)
    private RmsCompanyPosition position;
    /**
     * 企业信息
     */
    @TableField(exist = false)
    private RmsCompany company;
    @TableField(exist = false)
    private String memberPhone;
    @TableField(exist = false)
    private String memberName;//姓名
    @TableField(exist = false)
    private String memberAvatar;//头像
    @TableField(exist = false)
    private String memberPostName;//担任岗位
    @TableField(exist = false)
    private String memberSex;//性别
    @TableField(exist = false)
    private String companyName;//企业名称
    @TableField(exist = false)
    private String companyStaffSize;//企业规模
    @TableField(exist = false)
    private String companyNature;//企业性质
    @TableField(exist = false)
    private String companyPostName;//公司任职，工作经历使用
    @TableField(exist = false)
    private String postName;//岗位名称
    @TableField(exist = false)
    private String expectSalary;//期望薪资
    @TableField(exist = false)
    private String workSkill;//工作技能
    @TableField(exist = false)
    private boolean ifRead;//是否阅读
}
